<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>查询图书信息</title>
</head>
<body>
<table border="1" class="list">
    <tr>
        <td>图书编号</td>
        <td>条形码</td>
        <td>图书名称</td>
        <td>图书类型编号</td>
        <td>作者</td>
        <td>译者</td>
        <td>出版社编号</td>
        <td>价格</td>
        <td>页码</td>
        <td>书架编号</td>
        <td>录入时间</td>
        <td>操作员</td>
        <td>是否已经下架(0:没下架 1:已下架)</td>
    </tr>
    <tr th:each="bookinformation : ${bookinformationList}">
        <td th:text="${bookinformation.id}"></td>
        <td th:text="${bookinformation.barcode}"></td>
        <td th:text="${bookinformation.bookname}"></td>
        <td th:text="${bookinformation.typeid}"></td>
        <td th:text="${bookinformation.author}"></td>
        <td th:text="${bookinformation.translator}"></td>
        <td th:text="${bookinformation.isbn}"></td>
        <td th:text="${bookinformation.price}"></td>
        <td th:text="${bookinformation.page}"></td>
        <td th:text="${bookinformation.bookcase}"></td>
        <td th:text="${bookinformation.inTime}"></td>
        <td th:text="${bookinformation.operator}"></td>
        <td th:text="${bookinformation.del}"></td>
        <td>
            <form action="bookInformationupdate" method="post">
                <button name="id" th:value="${bookinformation.id}" type="submit">修改</button>
            </form>
        </td>
        <td>
            <form action="bookInformationdelete" method="post">
                <button name="id" th:value="${bookinformation.id}" type="submit">删除</button>
            </form>
        </td>
    </tr>
</table>
<button><a href="BookInformationAdd.html">增加图书信息</a></button>
<button><a href="Jump.html" target="left">返回主界面</a></button>
</body>
</html>